package com.letoken.platform.repo.admin.req.config;

import com.letoken.platform.pub.req.QueryReqBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * @author wyl
 * @date 2022/12/10
 */
@Data
@ApiModel(value = "修改奖励配置请求对象", description = "修改奖励配置请求对象")
public class UpdateRewardConfigReq {

    @NotNull(message = "编号不能为空")
    @ApiModelProperty(name = "id", value = "编号", required = true,example = "1")
    private Integer id;

    @NotNull(message = "加速周期不能为空")
    @Range(min = 1,max = 40,message = "加速周期范围1-40")
    @ApiModelProperty(name="shareAccelerateRound", value = "加速周期")
    private Integer shareAccelerateRound;

}
